package com.wwj.server.notify.msg;

import com.google.gson.annotations.SerializedName;
import com.wwj.server.model.NetBaseMsg;
import com.wwj.server.notify.common.MsgConstants;

public class NotifyServerBindMsgAck extends NetBaseMsg {

    private String type = MsgConstants.NOTIFY_SERVER_BIND_ACK;

    @SerializedName("server_name")
    private String serverName;

    private String result;

    public NotifyServerBindMsgAck() {
    }


    public NotifyServerBindMsgAck(String serverName) {
        this.serverName = serverName;
    }

    public NotifyServerBindMsgAck(NotifyServerBindMsg msg, String result) {
        this.serverName = msg.getServerName();
        this.result = result;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
